using System;
using System.Reflection;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Xml;

using Evaluant.Uss;

namespace TestUSS
{
	[TestClass]
	public class TestXmlConfigLoader
	{
		[TestMethod]
		public void DynamicConfigFileLoad()
		{
			Console.WriteLine("Load 100 times from config file");
			Counter c = new Counter();
			c.Start();
			for(int i=0; i<100; i++)
				XmlConfigLoader.LoadXmlConfig("engines.config", "Xml");
			c.Display();
		}
	}
}
